package cn.com.entity;

import java.util.Date;
//查询公告，获得发布管理者姓名
public class StateView {

    private Integer StateId;
    private String StateContent;
    private Date StateTime;
    private String AdminUsername;

    public StateView(Integer stateId, String stateContent, Date stateTime, String adminUsername) {
        StateId = stateId;
        StateContent = stateContent;
        StateTime = stateTime;
        AdminUsername = adminUsername;
    }

    public Integer getStateId() {
        return StateId;
    }

    public void setStateId(Integer stateId) {
        StateId = stateId;
    }

    public String getStateContent() {
        return StateContent;
    }

    public void setStateContent(String stateContent) {
        StateContent = stateContent;
    }

    public Date getStateTime() {
        return StateTime;
    }

    public void setStateTime(Date stateTime) {
        StateTime = stateTime;
    }

    public String getAdminUsername() {
        return AdminUsername;
    }

    public void setAdminUsername(String adminUsername) {
        AdminUsername = adminUsername;
    }

    public StateView() {
    }

    @Override
    public String toString() {
        return "StateView{" +
                "StateId=" + StateId +
                ", StateContent='" + StateContent + '\'' +
                ", StateTime=" + StateTime +
                ", AdminUsername='" + AdminUsername + '\'' +
                '}';
    }
}
